package com.vates.vsp.practico.alumnos.view;

import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import com.vates.vsp.practico.alumnos.business.Alumno;
import com.vates.vsp.practico.commons.AbstractBaseView;

import javax.faces.model.ListDataModel;

@ManagedBean(name = "alumnosView")
@SessionScoped
public class AlumnosView extends AbstractBaseView {

    private Alumno alumno;
    public List<Alumno> alumnosList;
    public ListDataModel <Alumno>  alumnosListData;
    
    public ListDataModel<Alumno> getAlumnosListData() {
            return alumnosListData;
    }

    public void setAlumnosListData(ListDataModel<Alumno> alumnosListData) {
            this.alumnosListData = alumnosListData;
    }

    public List<Alumno> getAlumnosList() {
            return alumnosList;
    }

    public void setAlumnosList(List<Alumno> alumnosList) {
            this.alumnosList = alumnosList;
    }

    public Alumno getAlumno() {
            return alumno;
    }

    public void setAlumno(Alumno alumno) {
            this.alumno = alumno;
    }
}

